
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Signup for your Rentpad Account</title>
        <style>
            a {color:#404042;text-decoration:none;}      /* unvisited link */
            a:visited {color:#404042;}  /* visited link */
            a:hover {color:#404042;}  /* mouse over link */
            a:active {color:#404042;}  /* selected link */
        </style>
        <script type="text/javascript" src="js/jquery/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="js/token/jquery.tokeninput.js"></script> 
    </head>


    <body style="text-align: center; background-color: #FAFAFA; color: #404042; font-family: Century Gothic, Calibri, Verdana; padding: 0px; margin: 0px;">                

        <div style="margin-top: 0px; background-color: white;">

            <%@include file="header.jsp" %>

            <div style="width: 100%; text-align: left; font-family: Century Gothic, Calibri, Verdana; color: #404042; background-color: white; background: url('${model.props.appPath}/img/content-bg-short.jpg'); background-repeat: repeat-x; display: block; position: relative; top: -2px;">

                <div style="width: 550px; margin-top: 10px; margin: 0 auto;">

                    <br>

                    <h1>&nbsp;Signup for Rentpad</h1>

                    <hr>
                    <br>


                    <form action="signup.htm" method="post">
                        <table cellpadding="5" cellspacing="5" style="margin-left: 10px;">
                            <tr>
                                <td>Your Email:</td>
                                <td>
                                    <input type="text" name="email" value="${model.user.email}" style="width:400px; padding: 10px"/>
                                </td>
                            </tr>
                            <tr>
                                <td>First Name:</td>
                                <td><input type="text" name="firstName" value="${model.user.firstName}" style="width:400px; padding: 10px"/></td>
                            </tr>
                            <tr>
                                <td>Last Name:</td>
                                <td><input type="text" name="lastName" value="${model.user.lastName}" style="width:400px; padding: 10px"/></td>
                            </tr>
                            <tr>
                                <td>Password:</td>
                                <td><input type="password" name="password" style="width:400px; padding: 10px"/></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    ${model.message}
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td align="right">
                                    <input type="submit" value=" Sign Up " />
                                    <input type="hidden" name="a" value="3" />
                                    <input type="hidden" name="s" value="1" />
                                </td>
                            </tr>
                        </table>
                    </form>

                    <br><br>                
                </div>
            </div>

            <div>
                <img src="${model.props.appPath}/img/footer-foot.jpg" style="border: 0px solid black; display: block; width: 100%;" />
            </div>

        </div>

    </body>

</html>
